local InnerDataManagerFW = require("innerdata.InnerDataManagerFW")
local InnerDataDefine = require("innerdata.Define")
local WorldBossLogicW = require("worldboss.WorldBossLogicW")
--local Util = require("common.Util")

function L2WProcess(human, type, nData)
    --print("has data", nData.type)
	--Util.printTable(nData)
    if nData.type == 1 then
        WorldBossLogicW.onBossDie(nData.data)
    --elseif nData.type == 2 then
    --    WorldBossLogicW.onDie(human.name)
    end
end

InnerDataManagerFW.Register(InnerDataDefine.INNERDATA_TYPE_WORLDBOSS, L2WProcess)
